home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / wildcat / addbad10.zip / ADDBAD.DOC < prev    next >
Text File  |  1992-08-15  |  2KB  |  52 lines

  1.  
  2.                                 ADDBAD v1.0
  3.                     A WildCat! 3.5x Public Domain Utility
  4.  
  5.                 Released into the Public Domain by Tim Kilgore
  6.                             USE AT YOUR OWN RISK
  7.  
  8.  
  9. AddBad is a simple little utility that adds the name of an uploaded file
  10. to BADFILES.LST.  It doesn't do much, but it will help to prevent duplicate
  11. uploads.
  12.  
  13. The program, as currently compiled, will NOT add *.GIF files to the listing
  14. of reserved file names.  I've encounted a few cases where a perfectly
  15. good archive could not be uploaded because a GIF with the same file name
  16. existed in the BADFILES.LST.
  17.  
  18. Add the following line(s) to SCANFILE.BAT _after_ you've done your virus
  19. checking -
  20.  
  21.                                 CD\WC30
  22.                                 AddBad %1
  23.  
  24. Once executed, AddBad will strip the path and extension from the file spec
  25. and will write the file name with a "*" wildcard extension to BADFILES.LST.
  26. Here's an example or three to clear the air -
  27.  
  28.                         %1 = C:\GAMES\FUNGAME.ZIP
  29.                         AddBad writes FUNGAME.* to BADFILES.LST
  30.  
  31.                         %1 = C:\GIF\HOOTERS.GIF
  32.                         AddBad aborts (GIF's are skipped)
  33.  
  34.                         %1 = C:\WCUTIL\ADDBAD.ARJ
  35.                         AddBad writes ADDBAD.* to BADFILES.LST
  36.  
  37. AddBad should be executed from the main WildCat! subdirectory.  If you do
  38. not, AddBad will create a new BADFILES.LST in the current subdirectory and
  39. this is rarely desired.
  40.  
  41. I've included the source (ADDBAD.BAS) to allow you to modify the program
  42. to suit your individual needs.  It's hardly brilliant, but it works.  Here
  43. are the needed compiler switches to create a stand-alone executable -
  44.  
  45.                         Compile as -   bc addbad /E/O;
  46.  
  47. Enjoy!
  48.  
  49. Tim Kilgore
  50. Planet ><
  51. 314-443-0319 v.32/HST
  52.